package com.zzxy.spring34.factory;

import org.springframework.beans.factory.config.BeanPostProcessor;

public class MyBeanPostProcessor  implements BeanPostProcessor {

    @Override
    public Object postProcessBeforeInitialization(Object o,String s) {
        System.out.println("5.before post processor");
        return 0;
    }



    @Override
    public  Object postProcessAfterInitialization(Object o,String s) {
        System.out.println("8.after post processor ...");
        return o;
    }
}
